home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- if inSlotMode() then
- setCursor(pSpr, noGood())
- end if
- end
-
- on mouseWithin
- global gBounceInProgress
- if inMixingMode() then
- Active = barSlotToSprite(findActiveRecipeSlot())
- thisChar = sprite(Active)
- if thisChar.member.type <> #flash then
- exit
- end if
- status = thisChar.pStatus
- if gBounceInProgress then
- setCursor(pSpr, noGood())
- else
- case status of
- #offStage, #greeting, #approaching, #retreating, #bouncing:
- setCursor(pSpr, noGood())
- otherwise:
- setCursor(pSpr, pointingHand())
- end case
- end if
- else
- if inSlotMode() then
- nothing()
- end if
- end if
- end
-
- on mouseLeave
- setCursor(pSpr, pointingHand())
- end
-
- on endSprite
- setCursor(pSpr, defaultCursor())
- end
-